.select2-container {
    width: 100% !important;
    height: 39px !important;
    cursor: pointer;
}

.select2-container--open:not(.form-group.dropdown *) {
    position: fixed !important;
}

.select2-selection {
    height: 100% !important;
    border-color: #ebf0f6 !important;
    padding-right: 30px;
    transition: .2s;
}

.invalidator.invalid .select2-selection {
    border-color: var(--error-color) !important;
    background-color: #ff000014 !important;
}

.dropdown[required="true"] .select2-selection {
    background-color: #e8f0fe !important;
}

.select2-dropdown {
    max-width: 100%;
}

.select2-selection__rendered,
.select2-selection__arrow {
    margin-top: 5px;
}

.select2-selection__rendered {
    font-size: 14px;
    margin-left: 4px !important;
    line-height: 2 !important;
    color: #aaa !important;
}

.select2-selection__rendered span[has-img=""] .display-img {
    width: 25px;
}

.select2-selection__arrow {
    margin-right: 5px !important;
    filter: brightness(1.5) !important;
    opacity: 1;
    transition: .2s;
}

.select2-container--open .select2-selection__arrow {
    opacity: 0;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
}

.select2-results__option {
    position: relative;
    font-size: .825rem;
    padding: 10px !important;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    min-width: fit-content;
    border: none;
    -webkit-box-shadow: 0 2px 9px -1px #d3d3d3;
    -moz-box-shadow: 0 2px 9px -1px #d3d3d3;
    box-shadow: 0 2px 9px -1px #d3d3d3;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #efefef !important;
    border-radius: 5px !important;
    height: 30px;
}

.select2 span.option-container,
.select2-dropdown span.option-container {
    display: table;
}

.select2 span.option-container[has-img] {
    margin-left: -5px;
}

.select2 span.option-container[has-img] .option-img,
.select2-dropdown span.option-container[has-img] .option-img {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 3px;
    width: 25px;
}

.select2 span.option-container[has-img] .option-text,
.select2-dropdown span.option-container[has-img] .option-text {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 2px;
    padding-left: 10px;
    max-width: 130px;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .5px;
}

.select2-container--default .select2-results__option--selected {
    background-color: #f1f6fb !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    color: #000 !important;
    background-color: #e7f1fd !important;
}

.select2 span.option-container:not([placeholder]) .option-text {
    color: #000 !important;
}

.select2 span.option-container[placeholder] .option-text {
    color: #a9b2ba;
}

.select2-selection.invalid {
    border-color: var(--error-color) !important;
}

@media screen and (max-width: 1000px) {
    .select2-container {
        height: 56px !important;
    }

    .select2-selection__rendered {
        line-height: 3.2 !important;
    }

    .select2-selection__arrow {
        height: 45px !important;
    }

    .select2 span.option-container[has-img=""] {
        margin: 0;
    }

    .select2-container--open:not(.form-group.dropdown *) {
        max-width: 45% !important;
    }
}